<?php 

/***  Documentation

    PEAR Packaging File
    
    Name: __init__.php
    Revision: $Rev$
    Last Update: $Date: 2009-05-21 04:48:45 +0000 (Thu, 21 May 2009) $
    Author: Tom at klenwell@gmail.com
    
DESCRIPTION
    Adds local PEAR library to include path

______________________________________________________________________________*/


    $_PEAR = array();
    $_ds = DIRECTORY_SEPARATOR;
    $_ps = PATH_SEPARATOR;
    
    $_PEAR['this_dir'] = dirname(__FILE__);
    $_PEAR['parent_dir'] = dirname($_PEAR['this_dir']);
    $_PEAR['root'] = $_PEAR['this_dir'] . $_ds;
    
    define('PEAR_ROOT', $_PEAR['root']);
	
    // add to include path
    ini_set('include_path', get_include_path() . $_ps . PEAR_ROOT . $_ps . PEAR_ROOT . 'pear' . $_ds);

?>
